post_install() {
  [[ -f mingw64/bin/gtk-update-icon-cache.exe ]] && {
    mingw64/bin/gtk-update-icon-cache -q -t -f mingw64/share/icons/Adwaita
  }
  [[ -f mingw64/bin/gtk-update-icon-cache-3.0.exe ]] && {
    mingw64/bin/gtk-update-icon-cache-3.0 -q -t -f mingw64/share/icons/Adwaita
  }
  [[ -f mingw64/bin/gdk-pixbuf-query-loaders.exe ]] && {
    mingw64/bin/gdk-pixbuf-query-loaders.exe --update-cache
  }
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}
